package com.yf.mediaserver.zlm.bean.hook;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 流信息
 *
 * {
 * 	"app" : "rtp",
 * 	"hook_index" : 1276,
 * 	"id" : "34020000001320000001_34020000001320000001",
 * 	"ip" : "192.168.31.68",
 * 	"mediaServerId" : "FQ3TF8yT83wh5Wvz",
 * 	"originType" : 3,
 * 	"originTypeStr" : "rtp_push",
 * 	"params" : "",
 * 	"port" : 15060,
 * 	"schema" : "rtp",
 * 	"stream" : "34020000001320000001_34020000001320000001",
 * 	"vhost" : "__defaultVhost__"
 * }
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class OnPublishHookParam extends BaseHookParam implements Serializable {

    private static final long serialVersionUID = -5903761362638275298L;

    private String app;
    private Integer hook_index;
    private String id;
    private String ip;
    private Integer originType;
    private String originTypeStr;
    private String params;
    private Integer port;
    private String schema;
    private String stream;
    private String vhost;



}
